<template>
  <ProConfigProvider>
    <a-config-provider :locale="locale">
      <router-view #="{ Component }">
        <component :is="Component" />
      </router-view>
      <LockScreen />
    </a-config-provider>
  </ProConfigProvider>
</template>

<script setup lang="ts">
import { LockScreen } from "@/components/basic/lockscreen";
import zhCN from "ant-design-vue/es/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";

dayjs.locale("zh-cn");
const locale = zhCN;

</script>
